package com.itsu.mysql.service.impl;

import com.itsu.interfaces.entity.TestSoulQuestion;
import com.itsu.interfaces.service.TestSoulQuestionsService;
import com.itsu.mysql.mappers.TestSoulQuestionsMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class TestSoulQuestionsServiceImpl implements TestSoulQuestionsService {

    @Autowired
    TestSoulQuestionsMapper questionsMapper;

    @Override
    public List<TestSoulQuestion> getAll() {
        return questionsMapper.selectList(null);
    }
}
